package com.example.demo.mapper;

import com.example.demo.model.UserInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: sfx
 * Date: 2023-01-28
 * Time: 21:28
 */

/**
 * 必须要加Mapper注解,代表是持久层
 */
@Mapper
public interface UserMapper {
     /**
      * 查询所有的用户信息
      * @return
      */
     public List<UserInfo> getAll();
}
